#include "wx/wxprec.h"
#include "wx/icon.h"

//-----------------------------------------------------------------------------
// wxIcon
//-----------------------------------------------------------------------------

IMPLEMENT_DYNAMIC_CLASS( wxIcon, wxBitmap )

wxIcon::wxIcon( const char **bits, int ( width ), int ( height ) ) :
  wxBitmap( bits ) {
}

wxIcon::wxIcon( char **bits, int ( width ), int ( height ) ) :
  wxBitmap( bits ) {
}

wxIcon::wxIcon() :  wxBitmap() {
}

void wxIcon::CopyFromBitmap( const wxBitmap& bmp ) {
  wxIcon *icon = ( wxIcon* )( &bmp );
  *this = *icon;
}
